home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 126-150 / disk_128 / mrbackup / mrdates.h < prev    next >
C/C++ Source or Header  |  1992-05-06  |  663b  |  27 lines

  1. /* Filename:    MRDates.h
  2.  * Various definitions used to support the MRDates package.
  3.  * 
  4.  * Important note:
  5.  *        If the preprocessor symbol MRDATES is undefined, certain
  6.  *      useful structures will be declared for use by the module
  7.  *      including this file.
  8.  */
  9.  
  10. #include <exec/types.h>
  11.  
  12. typedef struct {
  13.     short year,month,day,hour,minute,second;
  14.     } UnpackedDS;
  15.  
  16. #ifndef MRDATES                /* This is not MRDates.c? */
  17.  
  18. extern char *daynames[7];    /* day name strings, [0] = "Sunday" */
  19.  
  20. extern USHORT monthdays[12];/* Number of days preceding each month, 
  21.                              * requires diddling for leap years. 
  22.                              */
  23.  
  24. extern char *monthnames[12];/* [0] = January */
  25.  
  26. #endif
  27.